﻿using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Serialization;

using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.WebPartPages;

namespace IKEA.FileExchange.Web.WebParts
{
    [Guid("6160457c-d0e5-4926-81d4-6aed5d5878a8")]
    public class FileUploadWizardWebPart : System.Web.UI.WebControls.WebParts.WebPart
    {
        public FileUploadWizardWebPart()
        {
        }

        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            // TODO: add custom rendering code here.
            // Label label = new Label();
            // label.Text = "Hello World";
            // this.Controls.Add(label);

            Control uploadControlHolder = Page.LoadControl("~/_layouts/FileExchangeLayouts/controls/uploadwizardcontrol.ascx");
            Controls.Add(uploadControlHolder);
        }
    }
}
